using System;
using System.Web;
using System.Web.UI;
using System.ComponentModel;

namespace Deepcode.Flux.Core.UI.Controls
{
	/// <summary>
	/// TabContainer simply marks a section of your form as being the controlled zone for a
	/// TabBlock/Tab.
	/// </summary>
	[
	ParseChildren(false)
	]
	public class TabContainer : System.Web.UI.WebControls.WebControl
	{
		public override void RenderBeginTag(HtmlTextWriter writer)
		{
			writer.Write("<DIV ID='{0}' NAME='{0}' STYLE='display:none;'>", this.ClientID);
		}
		public override void RenderEndTag(HtmlTextWriter writer)
		{
			writer.Write("</DIV>");
		}

	}
}
